<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>h5_1xy</title>
</head>

<body>

</body>
<script>
  function getUrlParams(name) {
    let reg = new RegExp("(\\?|&)" + name + "=([^&]*)(&|$)", "i");
    let r = window.location.search.match(reg);
    if (r != null) return unescape(r[2]);
    return null;
  }
  localStorage.wxCode = getUrlParams("code");
  window.location.href =  window.location.origin+'/shareCoupons';

</script>

</html>
